﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Lucy.Models
{
    public class Order
    {
        [Key]
        public int OrderID { get; set; }
        public DateTime Date { get; set; }
        public int CustomerID { get; set; }
        public int JewelId { get; set; }
        public int DiamondID { get; set; }
        public decimal TotalPrice { get; set; }
        public string PaymentType { get; set; }
        public string Status { get; set; }

        public virtual Customer Customer { get; set; }
        public virtual Diamond Diamond { get; set; }
        public virtual Jewel Jewel { get; set; }
    }
}